﻿using Axis.BusinessObject.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Axis.Web.Administrator.Views.Core;
using Axis.Web.Administrator.Global;

namespace Axis.Web.Administrator.Views.Gift
{
    public partial class Gift : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack) {
                IList<CListData> list =new CCore().GetListData("GIFTGROUP");
                ddlGiftGroup.DataSource = list;
                ddlGiftGroup.DataTextField = "Name";
                ddlGiftGroup.DataValueField = "Value";
                ddlGiftGroup.DataBind();
            }
        }
    }
}